package com.ruoyi.project.system.card.card.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 用户提现账户对象 member_card
 * 
 * @author f_baisi
 * @date 2020-08-26
 */
public class MemberCard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 用户主键ID */
    @Excel(name = "用户主键ID")
    private String memberId;

    /** 收款人姓名 */
    @Excel(name = "收款人姓名")
    private String name;

    /** 卡号 */
    @Excel(name = "卡号")
    private String cardId;

    /** 开户行 */
    @Excel(name = "开户行")
    private String cardType;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobile;

    /** 是否是上次使用的 0 不是 1 是 */
    @Excel(name = "是否是上次使用的 0 不是 1 是")
    private Integer isDefault;

    /** 0 银行卡 1 微信 2 支付宝 */
    @Excel(name = "0 银行卡 1 微信 2 支付宝")
    private Integer type;

    /** logo */
    @Excel(name = "logo")
    private String logo;

    /** 卡名称 */
    @Excel(name = "卡名称")
    private String cardName;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setMemberId(String memberId) 
    {
        this.memberId = memberId;
    }

    public String getMemberId() 
    {
        return memberId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCardId(String cardId) 
    {
        this.cardId = cardId;
    }

    public String getCardId() 
    {
        return cardId;
    }
    public void setCardType(String cardType) 
    {
        this.cardType = cardType;
    }

    public String getCardType() 
    {
        return cardType;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setIsDefault(Integer isDefault) 
    {
        this.isDefault = isDefault;
    }

    public Integer getIsDefault() 
    {
        return isDefault;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setLogo(String logo) 
    {
        this.logo = logo;
    }

    public String getLogo() 
    {
        return logo;
    }
    public void setCardName(String cardName) 
    {
        this.cardName = cardName;
    }

    public String getCardName() 
    {
        return cardName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("name", getName())
            .append("cardId", getCardId())
            .append("cardType", getCardType())
            .append("mobile", getMobile())
            .append("isDefault", getIsDefault())
            .append("type", getType())
            .append("logo", getLogo())
            .append("cardName", getCardName())
            .toString();
    }
}
